// import "./assets/main.css";

import { createApp } from "vue";
import App from "./App.vue";
import router from "./router/index.js";
import "./assets/index.css";
// 粒子背景
import Particles from "vue3-particles";

import icons from '@/components/icons'
// // 方法二 引入图标的方法
// import * as icons from "@ant-design/icons-vue"
// const app = createApp(App)
// // 注册全局组件
// for(let key in icons){
//     app.component(key,icons[key])
// }
// app.use(router).use(Particles).mount("#app");
const app = createApp(App)
app.use(icons).use(router).use(Particles).mount("#app");

